namespace drg_group.changzhou_2022{
    public class SS1
    {
        public static String group(MedicalRecord record)
        {
            String[] adrg_zd={"T79.300x001","T81.400x001","T81.400x002","T81.400x004","T81.400x005","T81.400x006","T81.401","T81.402","T81.403","T81.404","T81.405","T81.406","T82.700x001","T82.700x002","T82.700x003","T82.700x004","T82.700x005","T82.700x007","T82.700x008","T82.700x009","T82.700x010","T82.700x011","T82.701","T84.701","T85.700x103","T85.700x104","T85.700x808","T85.700x809","T85.701","T85.702","T85.703","T85.706","T85.708","T85.709","T85.710","T85.711","T85.712","T86.807","T98.200x012","T98.200x021"};
            String[] adrg_zd1={};
            String[] adrg_ss={};
            String[] adrg_ss1={};
            
            if (true && adrg_zd.Contains(record.zdList[0])){
                Base.groupMessages.putMessage(record.Index,"符合SS1入组条件，匹配规则：主诊断匹配");
                    
                if (MDCS_DRG.SS11_group(record))
                {
                    return "SS11";
                }
    
                if (MDCS_DRG.SS13_group(record))
                {
                    return "SS13";
                }
    
                if (MDCS_DRG.SS15_group(record))
                {
                    return "SS15";
                }
    
                if (MDCS_DRG.SS17_group(record))
                {
                    return "SS17";
                }

                return "SS1";
            }else{
                return "";
            }
        }
    }
}